package cn.iocoder.yudao.module.product.convert.calculation;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.product.controller.admin.calculation.vo.EmissionCalculationCreateReqVO;
import cn.iocoder.yudao.module.product.controller.admin.calculation.vo.EmissionCalculationRespVO;
import cn.iocoder.yudao.module.product.controller.admin.calculation.vo.EmissionCalculationUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.product.dal.dataobject.calculation.EmissionCalculationDO;

/**
 * 排放源-核算关联 Convert
 *
 * @author wcl
 */
@Mapper
public interface EmissionCalculationConvert {

    EmissionCalculationConvert INSTANCE = Mappers.getMapper(EmissionCalculationConvert.class);

    EmissionCalculationDO convert(EmissionCalculationCreateReqVO bean);

    EmissionCalculationDO convert(EmissionCalculationUpdateReqVO bean);

    EmissionCalculationRespVO convert(EmissionCalculationDO bean);

    List<EmissionCalculationRespVO> convertList(List<EmissionCalculationDO> list);

    PageResult<EmissionCalculationRespVO> convertPage(PageResult<EmissionCalculationDO> page);

}
